public class Test {
    public static void main(String[] args) {
        /*int a = 3;
        byte b = (byte)a;
        System.out.println(b);*/
       /* int a=1,b=3,c=5;
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);
         c=10;
        System.out.println(c);*/

       //int    System.out.println(Integer.MAX_VALUE);
       // System.out.println(Integer.MIN_VALUE);

        // byte   System.out.println(Byte.MAX_VALUE);
        //System.out.println(Byte.MIN_VALUE);


        /*System.out.println(Character.MAX_VALUE);
        System.out.println(Character.MIN_VALUE);*/

       //short   System.out.println(Short.MAX_VALUE);
       // System.out.println(Short.MIN_VALUE);

       //long    System.out.println(Long.MAX_VALUE);
      //  System.out.println(Long.MIN_VALUE);

      //float    System.out.println(Float.MAX_VALUE);
       // System.out.println(Float.MIN_VALUE);

        //double   System.out.println(Double.MAX_VALUE);
       // System.out.println(Double.MIN_VALUE);

/*
        double d=3.14;
        char c='A';
        boolean b=true;
        System.out.println(b);
        System.out.println(c);
        System.out.println(d);*/

      /*  long a=10L;
        System.out.println(a);
*/

      /*double num=1.1;
        System.out.println(num*num);*/
       /* char c='美';
        System.out.println(c);*/

       /* byte a=10;
        //double b=a;
        System.out.println(a);*/
       /* double d=12.34;
        int a;
        a=(int)d;
        System.out.println(a);*/
        /*int a=10;
        long c =30L;
        long b=a+c;
        System.out.println(b);*/
       /* String a="hello ";
        String s2="mayali";
        System.out.println(a+s2);
*/

       // int num = 10 ;
/*// 方法1
        String str1 = num + "China";
        System.out.println(str1);*/
// 方法2

       /* String str2 = String.valueOf(num +"China");
        System.out.println(str2);*/

        String str = "100";
        int num = Integer.parseInt(str);
        System.out.println(num);
    }
}
